﻿#include <QApplication>
#include "ui/mainwindow.h"
#include "app/app.h"
#include "app/Log.h"
int main(int argc, char* argv[])
{
    QApplication a(argc, argv);
    if (!App::getInstance().init()) {
        Logger::getInstance().warning() << "App init failed!";
        return a.exec();
    }

    MainWindow window;
    window.show();
    return a.exec();
}
